<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8" />
    <title>title</title>
</head>

<body>
    <p>单击按钮以显示警告弹出框</p>
    <button onclick="myFunc()">1</button>
    <script>
        function myFunc() {
            alert("\(@^0^@)/")
        }
    </script>
</body>

</html>